home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene 96
/
Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso
/
misc
/
coding
/
pump_src
/
types.h
< prev
Wrap
C/C++ Source or Header
|
1995-10-26
|
593b
|
42 lines
#ifndef _TYPES_H_
#define _TYPES_H_
#pragma pack(1);
typedef signed char BYTE;
typedef unsigned char UBYTE;
typedef signed short WORD;
typedef unsigned short UWORD;
typedef signed long DWORD;
typedef unsigned long UDWORD;
typedef int BOOL;
#define TRUE 1
#define FALSE 0
struct CPoint {
WORD x, y, z;
};
struct CPoint2D {
WORD x, y;
};
struct CNormal {
BYTE x, y, z;
};
struct CTriangle {
UWORD p1, p2, p3;
};
// Multiplicadores
#define PU *256 // Point Units
#define NU *127 // Normal Units
#pragma pack();
#endif